//后面的-前面的时间差
function betweenDay(beginDate, endDate) {
    var time1 = Date.parse(beginDate);
    var time2 = Date.parse(endDate);
    return (time2 - time1)/1000/60/60/24;
}
